package com.my.zuji.service;

import java.util.List;
import java.util.Map;

import com.my.zuji.controller.form.LoginForm;
import com.my.zuji.controller.form.RegisteForm;
import com.my.zuji.domain.bookkeeping.Account;
import com.my.zuji.domain.bookkeeping.BookingCategory;
import com.my.zuji.domain.bookkeeping.Member;
import com.my.zuji.domain.bookkeeping.Project;
import com.my.zuji.domain.bookkeeping.Seller;
import com.my.zuji.domain.bookkeeping.User;

public interface PublicService {

	public abstract Boolean checkUserName(String userName);

	public abstract void register(RegisteForm registeForm);

	public abstract User login(LoginForm loginForm);

	public abstract Map<BookingCategory, List<BookingCategory>> findCategoryByName(
			String payType);

	public abstract List<Account> findAccountByUser(User user);

	public abstract List<Member> findAllMemberByUser(User user);

	public abstract List<Project> findProjectByUser(User user);

	public abstract List<Seller> findSellerByUser(User user);

}